from django.urls import path
from app.view.course_view import *

urlpatterns = [
    path('createtask/', CreateTask.as_view(), name='create_task'),
    path('addcoursemenu/', AddCourseMenu.as_view(), name='add_course_menu'),
    # path('downloadcoursefile/', DownloadCourseFile.as_view(), name='download_course_file'),
    path('coursehome/', CourseHome.as_view(), name='course_home'),
    path('coursechapter/', ChapterContentData.as_view(), name='course_chapter'),
    path('getcoursetag/', GetCourseTag.as_view(), name='get_course_tag'),
    path('getcoursedetails/', GetCourseDetails.as_view(), name='get_course_details'),
    path('submitcoursecover/', SubmitCourseCover.as_view(), name='submit_course_cover'),
    path('submittask/', SubmitTask.as_view(), name='submit_task'),
    path('Video/', VideoPlayer.as_view(), name='Video'),
    path('mytask/', MyTasks.as_view(), name='my_task'),
    path('allcoursetask/', CourseAllTask.as_view(), name='all_course_task'),
    path('settlement/', Settlement.as_view(), name='settlement'),
    path('coursepower/', CoursePower.as_view(), name='course_power'),
    path('coursemanage/', CourseManage.as_view(), name='course_manage'),
    # path('pdffile/', PdfFile.as_view()),
    path('allcoursequestions/', CourseAllExercises.as_view()),
    path('uploadfile/', Upload.as_view(), name='upload_file'),
    path("deletequestion/", DeleteQuestion.as_view(), name="delete_question"),
    path('chapterlist/', CourseChapter.as_view(), name='chapter_list'),
    path('chapteropen/', ChapterOpen.as_view(), name='chapter_open'),

    path('createtask/', CreateTask.as_view(), name='create_task'),
    path('addcoursemenu/', AddCourseMenu.as_view(), name='add_course_menu'),
    # path('downloadcoursefile/', DownloadCourseFile.as_view(), name='download_course_file'),
    path('coursehome/', CourseHome.as_view(), name='course_home'),
    path('coursechapter/', ChapterContentData.as_view(), name='course_chapter'),
    path('getcoursetag/', GetCourseTag.as_view(), name='get_course_tag'),
    path('getcoursedetails/', GetCourseDetails.as_view(), name='get_course_details'),
    path('submitcoursecover/', SubmitCourseCover.as_view(), name='submit_course_cover'),
    path('submittask/', SubmitTask.as_view(), name='submit_task'),
    path('Video/', VideoPlayer.as_view(), name='Video'),
    path('mytask/', MyTasks.as_view(), name='my_task'),
    path('allcoursetask/', CourseAllTask.as_view(), name='all_course_task'),
    path('settlement/', Settlement.as_view(), name='settlement'),
    path('coursepower/', CoursePower.as_view(), name='course_power'),
    path('coursemanage/', CourseManage.as_view(), name='course_manage'),
    # path('pdffile/', PdfFile.as_view()),
    path('allcoursequestions/', CourseAllExercises.as_view()),
    path('uploadfile/', Upload.as_view(), name='upload_file'),
    path("deletequestion/", DeleteQuestion.as_view(), name="delete_question"),
    path('chapterlist/', CourseChapter.as_view(), name='chapter_list'),
    path('chapteropen/', ChapterOpen.as_view(), name='chapter_open'),
    path('createfolder/', CreateFolder.as_view(), name='create_folder'),
    path('changename/', Change.as_view(), name='change_name'),
    path('moveup/', MoveUp.as_view(), name='move_up'),
    path('movedown/', MoveDown.as_view(), name='move_down'),
    path('batch/', Batch.as_view(), name='batch-delete'),
    path('batchdown/', Batchdown.as_view(), name='batch-download')
    # path('newtask/', NewTask.as_view(), name="add_task")
]